package com.zpb.framework.domain.entity;

import com.alibaba.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * @Description:
 * @Author: zhaopengbo
 * @Date: 2025/9/20
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class BaseEntity {
    @ExcelProperty("创建人")
    @TableField(fill = FieldFill.INSERT)
    private Long createBy;
    @ExcelProperty("创建时间")
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;
    @ExcelProperty("更新人")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Long updateBy;
    @ExcelProperty("更新时间")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;
}
